﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace xxxy.Web.userInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int userID=(Convert.ToInt32(strid));
					ShowInfo(userID);
				}
			}
		}
		
	private void ShowInfo(int userID)
	{
		xxxy.BLL.userInfo bll=new xxxy.BLL.userInfo();
		xxxy.Model.userInfo model=bll.GetModel(userID);
		this.lbluserID.Text=model.userID.ToString();
		this.lbluserNum.Text=model.userNum;
		this.lbluserName.Text=model.userName;
		this.lblusex.Text=model.usex;
		this.lbluserPwd.Text=model.userPwd;
		this.lbluseridnumber.Text=model.useridnumber;
		this.lblubanknumber.Text=model.ubanknumber;
		this.lbluphone.Text=model.uphone;
		this.lblutel.Text=model.utel;
		this.lbluemail.Text=model.uemail;
		this.lbluqq.Text=model.uqq;
		this.lbludegree1.Text=model.udegree1;
		this.lbluxuwei1.Text=model.uxuwei1;
		this.lblumajor1.Text=model.umajor1;
		this.lbluschool1.Text=model.uschool1;
		this.lblugratime1.Text=model.ugratime1.ToString();
		this.lbludegree2.Text=model.udegree2;
		this.lbluxuwei2.Text=model.uxuwei2;
		this.lblumajor2.Text=model.umajor2;
		this.lbluschool2.Text=model.uschool2;
		this.lblugratime2.Text=model.ugratime2.ToString();
		this.lbluposition.Text=model.uposition;
		this.lblutitle.Text=model.utitle;
		this.lblujobtime.Text=model.ujobtime.ToString();
		this.lbluiscomputer.Text=model.uiscomputer.ToString();
		this.lbluserRemarks.Text=model.userRemarks;
		this.lbluserLevel.Text=model.userLevel.ToString();

	}


    }
}
